<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Login_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-login_image" class="form-control" size="50" name="row[login_image]" type="text" value="{$row.login_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-login_image" class="btn btn-danger faupload" data-input-id="c-login_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-login_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-login_image" class="btn btn-primary fachoose" data-input-id="c-login_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-login_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-login_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Episode_script_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-episode_script_id" data-rule="required" data-source="episode/script/index" class="form-control selectpage" name="row[episode_script_id]" type="text" value="{$row.episode_script_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-user_content" class="form-control editor" rows="5" name="row[user_content]" cols="50">{$row.user_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Privacy_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-privacy_content" class="form-control editor" rows="5" name="row[privacy_content]" cols="50">{$row.privacy_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bang_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-bang_content" class="form-control editor" rows="5" name="row[bang_content]" cols="50">{$row.bang_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Andorid_version')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-andorid_version" class="form-control" name="row[andorid_version]" type="text" value="{$row.andorid_version|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Andorid_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-andorid_url" class="form-control" name="row[andorid_url]" type="text" value="{$row.andorid_url|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ios_version')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ios_version" class="form-control" name="row[ios_version]" type="text" value="{$row.ios_version|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ios_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ios_url" class="form-control" name="row[ios_url]" type="text" value="{$row.ios_url|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-share_title" class="form-control" name="row[share_title]" type="text" value="{$row.share_title}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-share_image" class="form-control" size="50" name="row[share_image]" type="text" value="{$row.share_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-share_image" class="btn btn-danger faupload" data-input-id="c-share_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-share_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-share_image" class="btn btn-primary fachoose" data-input-id="c-share_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-share_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-share_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_blurb')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-share_blurb" class="form-control" name="row[share_blurb]" type="text" value="{$row.share_blurb}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
